package com.server.questionbank.snframe.mapper.Note;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.server.questionbank.snframe.domain.Note.TNoteFile;

import org.apache.ibatis.annotations.Param;

@Mapper
public interface TNoteFileMapper extends BaseMapper<TNoteFile> {
     @Select("SELECT * FROM T_note_file WHERE note_id = #{noteId}")
    List<TNoteFile> selectFilesByNoteId(@Param("noteId") Long noteId);
}
